﻿using Microsoft.Extensions.Hosting;

namespace YS.K12.IoT
{
    //public class Worker : BackgroundService
    //{
    //    protected override async Task ExecuteAsync(CancellationToken stoppingToken)
    //    {
    //        //while (!stoppingToken.IsCancellationRequested)
    //        //{
    //        //    Console.WriteLine("服务运营时间 at: " + DateTime.Now);
    //        //    await Task.Delay(TimeSpan.FromSeconds(5), stoppingToken);
    //        //}
    //    }
    //}
}